package idatapack

import "broker/interface/imodel"

/**
 * @Description
 * @Author huan.wang
 * @Date 2021/4/24 10:16 下午
 **/

type IParamDataPack interface {
	Pack(data []byte) []byte
	UnPack() (imodel.IParamData, error)
	UnPackByLen(dataLen uint32) (imodel.IParamData, error)
	GetDataPackMsg() []byte
	UnPackAll() (imodel.IParamData, error)
}
